//跨域代理前缀
// const API_PROXY_PREFIX='/api'
// const BASE_URL = process.env.NODE_ENV === 'production' ? process.env.VUE_APP_API_BASE_URL : API_PROXY_PREFIX
const BASE_URL = process.env.VUE_APP_API_BASE_URL
module.exports = {
    LOGIN: `${BASE_URL}/biz/login`,
    GET_IMG_CAPTCHA: `${BASE_URL}/biz/common/getImgCaptcha`,
    ROUTES: `${BASE_URL}/biz/common/routes`,
    GET_RESOURCE: `${BASE_URL}/biz/resource/list`,
    GET_PERMISSION: `${BASE_URL}/biz/permission/list`,
    LOCK_PERMISSION: `${BASE_URL}/biz/permission/lock`,
    CREATE_PERMISSION: `${BASE_URL}/biz/permission/create`,
    EDIT_PERMISSION: `${BASE_URL}/biz/permission/edit`,
    DETAIL_PERMISSION: `${BASE_URL}/biz/permission/detail`,
    LIST_ROLE: `${BASE_URL}/biz/role/list`,
    COUNT_ROLE: `${BASE_URL}/biz/role/count`,
    CREATE_ROLE: `${BASE_URL}/biz/role/create`,
    LOCK_ROLE: `${BASE_URL}/biz/role/lock`,
}
